# python mnist_deep.py

# get int8 quantization model
#python fppb_to_intpb.py mnist.ini

# python test_mlu.py

#../cpp_demos/offline/label_image_mlu270/classify_offline mnist_deep.cambricon images_list labels_file mean_file 1 0 255 gray 0, 0
g++ -std=c++11 -I/usr/local/neuware/include offline.cc `pkg-config --cflags --libs opencv` -L/usr/local/neuware/lib64 -lcnrt

exit
#export TF_CPP_MIN_MLU_LOG_LEVEL=2

../tools/pb_to_cambricon/pb_to_cambricon.host \
    --graph=mnist_deep_mlu.pb \
    --param_file=mnist_model_offline_param_file.txt \
    --core_version="MLU270" \
    --core_num=1 \
    --save_pb=false

